package com.taobao.classloader;

import org.springframework.context.ApplicationContext;

public interface ApplicationContextCreator {
	/**
	 * 根据{@link ClassLoaderScope}和指定的{@link ClassLoader}创建
	 * {@link ApplicationContext}
	 * 
	 * @param scope
	 * @param classLoader
	 * @return
	 */
	public ApplicationContext createApplicationContext(ClassLoaderScope scope, ClassLoader classLoader);
}
